<script>
	// 导入key
	import {CARTKEY} from 'utils/keys.js'
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		// 页面隐藏回调函数
		onHide: function() {
			console.log('App Hide')
			// 数据缓存
			uni.setStorageSync(CARTKEY,this.$store.state.goodsList) 
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
